<?php 

require_once(dirname(__FILE__).'/Map.php');
class ArrayList extends Map{
	
	public $a=	array();
	  public Function add($o)
	  {
		  $this->a[]=$o;
	  }
	  
	  public Function toArray()
	  {
		return $this->a;  
	  }
	  
	    
	  public Function toPhpArr()
	  {
		return $this->a;  
	  }
	    public Function addAll($coll)
	  {
		  $a=$coll->a;
		  $this->a= array_merge( $this->a,$a);
	//	return $this->a;  
	  }
	  
	  
	
}
	